﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace Ccit.OA.NewsCenter
{
    /// <summary>
    /// define query clause message object (NEWS_A8)
    /// </summary>
    public class MsQueryClause
    {
        #region 私有属性

        private string _clauseId;
        private string _userId;
        private string _clauseType;
        private string _clauseName;
        private string _clauseContent;
        private string _clauseFlag;
        private string _windowFlag;
        private string _funcType;

        private MsClauseAttr _msClauseAttr;


        #endregion 

        #region 公开属性

        public string ClauseId { set { _clauseId = value; } get { return ((!string.IsNullOrEmpty(_clauseId)) ? _clauseId : ""); } }

        public string UserId { set { _userId = value; } get { return ((!string.IsNullOrEmpty(_userId)) ? _userId : ""); } }

        public string ClauseType { set { _clauseType = value; } get { return ((!string.IsNullOrEmpty(_clauseType)) ? _clauseType : ""); } }

        public string ClauseName { set { _clauseName = value; } get { return ((!string.IsNullOrEmpty(_clauseName)) ? _clauseName : ""); } }

        public string ClauseContent { set { _clauseContent = value; } get { return ((!string.IsNullOrEmpty(_clauseContent)) ? _clauseContent : ""); } }

        public string ClauseFlag { set { _clauseFlag = value; } get { return ((!string.IsNullOrEmpty(_clauseFlag)) ? _clauseFlag : ""); } }

        public string WindowFlag { set { _windowFlag = value; } get { return ((!string.IsNullOrEmpty(_windowFlag)) ? _windowFlag : ""); } }

        public MsClauseAttr msClauseAttr { set { _msClauseAttr = value; } get { return _msClauseAttr; } }

        public string FuncType { set { _funcType = value; } get { return ((!string.IsNullOrEmpty(_funcType)) ? _funcType : ""); } }

        #endregion

        public MsQueryClause() { }
    }
}
